<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>驻村工作队</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="../../../css/amazeui.css"/>
    <link rel="stylesheet" href="../../../css/im.css"/>
    <script src="../../../js/jquery-1.4.2.min.js"></script>
    <script src="../../../js/iscroll.js"></script>
    <style>
        #wrapper {
            position: absolute;
            z-index: -1;
            top: 64px;
            bottom: -3em;
            margin-top: -3em;
            left: 0;
            width: 100%;
            overflow: inherit;
        }

        #scroller {
            position: absolute;
            z-index: -1;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
            width: 100%;
        }
    </style>
    <script>
        var myScroll;
        myScroll = new iScroll('wrapper', {
            useTransition: true,
            hScroll: false,
            topOffset: 0,
            y: 0
        }, 100);
        document.addEventListener('touchmove', function (e) {
            e.preventDefault();
        }, false);

        document.addEventListener('DOMContentLoaded', function () {
            setTimeout(loaded, 200);
        }, false);
    </script>
</head>
<body>
<div class="am-tabs" id="doc-my-tabs">
    <!--导航栏-->
    <ul class="am-tabs-nav am-nav am-nav-tabs am-nav-justify am-topbar-fixed-top" style="margin-bottom: 1em">
        <li id="tabOne" class="am-active"><a id="title">驻村工作队</a></li>
    </ul>
    <!--滚动部分-->
    <div id="wrapper" class="am-tabs-bd" style="margin-top: -2em">
        <div id="scroller" class="am-tab-panel am-active">
            <br>
            <table class="am-table am-text-middle am-table-nobordered am-table-compact">
                <tbody>
                <tr>
                    <th>姓名</th>
                    <th>
                        <form>
                            <input type="text" style="width: 200px" class="am-form-field im-fp-input">
                        </form>
                    </th>
                </tr>
                <tr>
                    <th>性别</th>
                    <th>
                        <form>
                            <div class="btn-select" id="btn_select_1">
                                <span class="cur-select">请选择</span>
                                <select id="info1" onclick="OC_1(this.id)">
                                    <option>男</option>
                                    <option>女</option>
                                </select>
                            </div>
                        </form>
                    </th>
                </tr>
                <tr>
                    <th>帮扶类型</th>
                    <th>
                        <form>
                            <div class="btn-select" id="btn_select_2">
                                <span class="cur-select">请选择</span>
                                <select id="info2" onclick="OC_1(this.id)">
                                    <option>选项一</option>
                                    <option>选项二</option>
                                    <option>选项三</option>
                                    <option>选项四</option>
                                    <option>选项五</option>
                                </select>
                            </div>
                        </form>
                    </th>
                </tr>

                <tr>
                    <th>证件号码</th>
                    <th>
                        <form>
                            <input type="text" style="width: 200px" class="am-form-field im-fp-input">
                        </form>
                    </th>
                </tr>

                <tr>
                    <th>出生日期</th>
                    <th>
                        <form>
                            <input type="text" style="width: 200px" class="am-form-field im-fp-input">
                        </form>
                    </th>
                </tr>
                <tr>
                    <th>政治面貌</th>
                    <th>
                        <form>
                            <div class="btn-select" id="btn_select_3">
                                <span class="cur-select">请选择</span>
                                <select id="info3" onclick="OC_1(this.id)">
                                    <option>选项一</option>
                                    <option>选项二</option>
                                    <option>选项三</option>
                                    <option>选项四</option>
                                    <option>选项五</option>
                                </select>
                            </div>
                        </form>
                    </th>
                </tr>
                <tr>
                    <th>职务</th>
                    <th>
                        <div class="btn-select" id="btn_select_4">
                            <span class="cur-select">请选择</span>
                            <select id="info4" onclick="OC_1(this.id)">
                            </select>
                        </div>
                    </th>
                </tr>
                <tr>
                    <th>技术特长</th>
                    <th>
                        <div class="btn-select" id="btn_select_5">
                            <span class="cur-select">请选择</span>
                            <select id="info5" onclick="OC_1(this.id)">

                            </select>
                        </div>
                    </th>
                </tr>
                <tr>
                    <th>文化程度</th>
                    <th>
                        <div class="btn-select" id="btn_select_6">
                            <span class="cur-select">请选择</span>
                            <select id="info6" onclick="OC_1(this.id)">
                                <option>文盲或半文盲</option>
                                <option>小学</option>
                                <option>初中</option>
                                <option>大专及以上</option>
                                <option>学龄前儿童</option>
                            </select>
                        </div>
                    </th>
                </tr>
                <tr>
                    <th>是否队长</th>
                    <th>
                        <div class="btn-select" id="btn_select_7">
                            <span class="cur-select">请选择</span>
                            <select id="info7" onclick="OC_1(this.id)">
                            </select>
                        </div>
                    </th>
                </tr>
                <tr>
                    <th>第一书记</th>
                    <th>
                        <form>
                            <div class="btn-select" id="btn_select_8">
                                <span class="cur-select">请选择</span>
                                <select id="info8" onclick="OC_1(this.id)">
                                    <option>普通劳动力</option>
                                    <option>技能劳动力</option>
                                    <option>丧失劳动力</option>
                                    <option>无劳动力</option>
                                </select>
                            </div>
                        </form>
                    </th>
                </tr>

                <tr>
                    <th>开始日期</th>
                    <th>
                        <form>
                            <input type="text" style="width: 200px" class="am-form-field im-fp-input">
                        </form>
                    </th>
                </tr>

                <tr>
                    <th>结束日期</th>
                    <th>
                        <form>
                            <input type="text" style="width: 200px" class="am-form-field im-fp-input">
                        </form>
                    </th>
                </tr>
                <tr>
                    <th>联系电话</th>
                    <th>
                        <form>
                            <input type="text" style="width: 200px" class="am-form-field im-fp-input">
                        </form>
                    </th>
                </tr>
                <tr>
                    <th>联系地址</th>
                    <th>
                        <form>
                            <input type="text" style="width: 200px" class="am-form-field im-fp-input">
                        </form>
                    </th>
                </tr>

                </tbody>
            </table>
            <div align="center">
                <button type="button" class="am-btn am-btn-primary am-radius im-fp-bt-select">保存</button>
            </div>
        </div>
    </div>
</div>

<!--返回按钮-->

</div>
<img src="../../../img/Back.png" class="img-left" onclick="backBtn()">
<script>

    //返回按钮点击事件
    function backBtn() {

        window.location.href = "HealperTeam.html";

    }


    //下拉栏js
    var $$ = function (id) {
        return document.getElementById(id);
    }

    function OC_1(i) {
        var btnSelect1;

        switch (i) {
            case 'info1':
                btnSelect1 = $$("btn_select_1");
                break;
            case 'info2':
                btnSelect1 = $$("btn_select_2");
                break;
            case 'info3':
                btnSelect1 = $$("btn_select_3");
                break;
            case 'info4':
                btnSelect1 = $$("btn_select_4");
                break;
            case 'info5':
                btnSelect1 = $$("btn_select_5");
                break;
            case 'info6':
                btnSelect1 = $$("btn_select_6");
                break;
            case 'info7':
                btnSelect1 = $$("btn_select_7");
                break;
            case 'info8':
                btnSelect1 = $$("btn_select_8");
                break;

            default:
                break;
        }
        var curSelect1 = btnSelect1.getElementsByTagName("span")[0];
        var chgSelect1 = $$(i);
        curSelect1.innerHTML = chgSelect1.value;
    }

</script>
</body>
</html>